
package org.Framework.Examples;
import javax.swing.*;
import javax.swing.JFrame;
import javax.swing.JPanel;

public class ButtonsInClass extends JFrame {

	private static final long serialVersionUID = 1L;
	JButton load = new JButton("load");
	JButton save = new JButton("save");
	
	ImageIcon Imgicn = new ImageIcon("src/imgs/subscribe.gif");
	JButton unsubscribe = new JButton("unsubscribe",Imgicn);

	

	public ButtonsInClass() {
		super("Buttons In Class");
		//setSize(120,200);
		JPanel Jp = new JPanel();
		Jp.add(load);
		Jp.add(save);
		Jp.add(unsubscribe);
		add(Jp);
		pack();
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		setVisible(true);
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ButtonsInClass Binc = new ButtonsInClass ();

	}

}
